Laro.register('VHome.$fsm', function (La) {
    var pkg = this;

    this.init = function () {
        this.getStatesList();
        this.$ = new La.AppFSM(this, this.statesList);
        this.$.setState(0);
    }
    this.getStatesList = function () {
        this.statesList = [
            0, VHome.$states.No,
            1, VHome.$states.QQ,
            2, VHome.$states.Jx,
            3, VHome.$states.QPlus,
            4, VHome.$states.AT
        ];
    }

    this.setState = function (state, msg, suspendCurrent) {
        this.$.setState(state, msg, suspendCurrent);
    }
});
